package com.qwc.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qwc.blog.config.InitProperties;
import com.qwc.blog.entity.SysConfig;
import com.qwc.blog.entity.dto.PwdUpdateDto;

import java.util.Map;

/**
 * <p>
 * 配置表 服务类
 * </p>
 *
 * @author qwc
 * @since 2022-01-24
 */
public interface ISysConfigService extends IService<SysConfig> {

    /**
     * 初始化配置
     * @param initProperties
     */
    void initConfig(InitProperties initProperties);

    /**
     * 获取配置map
     * @param name
     * @param key
     * @return
     */
    Map<String,String> configMap(String name);


}
